# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=aml
pkgver=0.2.2
pkgrel=0
pkgdesc="Andri's Main Loop"
url="https://github.com/any1/aml"
license="ISC"
arch="all"
makedepends="meson bsd-compat-headers"
subpackages="$pkgname-dbg $pkgname-dev"
source="https://github.com/any1/aml/archive/v$pkgver/aml-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
3cb5bf28186a9056b579dd76440202837d96a7abde9427c45a810068d5e051c642303cd73b012e3b093ffb1577896753a50fcc508b2a30c49146033bb74156e7  aml-0.2.2.tar.gz
"
